package ute.mvc.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import ute.mvc.util.DateTimeSerializer;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class ClassScoreDTO {

	private String email;
	private String name;
	private int numberOfSubmission = 0;

	@JsonSerialize(using = DateTimeSerializer.class)
	@DateTimeFormat(pattern = "dd/MM/yyyy hh:mm:ss")
	private Date startTime;

	@JsonSerialize(using = DateTimeSerializer.class)
	@DateTimeFormat(pattern = "dd/MM/yyyy hh:mm:ss")
	private Date submittedTime;
	private float point;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNumberOfSubmission() {
		return numberOfSubmission;
	}

	public void setNumberOfSubmission(int numberOfSubmission) {
		this.numberOfSubmission = numberOfSubmission;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getSubmittedTime() {
		return submittedTime;
	}

	public void setSubmittedTime(Date submittedTime) {
		this.submittedTime = submittedTime;
	}

	public float getPoint() {
		return point;
	}

	public void setPoint(float point) {
		this.point = point;
	}

}
